<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('user_favorite_total')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>用户编号：</span><input type="text" name="user_id" value="{$user_id}"/></li>
                    <li><span>用户昵称：</span><input type="text" name="nick" value="{$nick}"/></li>
                    <li><span>用户姓名：</span><input type="text" name="real" value="{$real}"/></li>
                    <li><span>用户手机：</span><input type="text" name="phone" value="{$phone}"/></li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>

<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
            <tr>
                <th class="tabSort-header"><a class="tabSort-header-inner"><p>用户编号</p></a></th>
                <th class="tabSort-header"><a class="tabSort-header-inner"><p>用户昵称</p></a></th>
                <th class="tabSort-header"><a class="tabSort-header-inner"><p>用户姓名</p></a></th>
                <th class="tabSort-header"><a class="tabSort-header-inner"><p>用户电话</p></a></th>
                <th class="tabSort-header"><a class="tabSort-header-inner"><p>收藏数量</p></a></th>
                <th class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
            </tr>
            </thead>
            <tbody>
            {foreach name="loan_favorite_list" item="info"}
            <tr>
                <td>{$info.user_id}</td>
                <td>{empty name="$info.nick"}--{else/}{$info.nick}{/empty}</td>
                <td>{empty name="$info.real"}--{else/}{$info.real}{/empty}</td>
                <td>{$info.phone}</td>
                <td>{$info.favorite_num}</td>
                <td>
                    <a data-type="info-win" data-src="{:Url('user_favorite_list',array('user_id'=>$info['user_id']))}" data-title="收藏记录列表" data-width="80%" data-height="80%" class="blue">收藏记录列表</a>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>
